#!/usr/bin/env python3
"""
脚本名称：ch08_exe.py
功能描述：format 打印，打印
作者：Gavin
创建日期：2022-05-06
版本：1.0
依赖库：无
使用方法： python ch08_exe.py
"""

formatter = "%r %r %r %r"

print(formatter % (1, 2, 3, 4))
print(formatter % ("one", "two", "three", "four"))
print(formatter % (True, False, False, True))
print(formatter % (formatter, formatter, formatter, formatter))
print(formatter % (
    "I had this thing.",
    "That you could type up right.",
    "But it didn't sing.",
    "So I said goodnight."
))
